<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.7.2">
  <compounddef id="d6/d9d/IniReader_8cs" kind="file">
    <compoundname>IniReader.cs</compoundname>
    <innerclass refid="d1/d2b/classGaf_1_1Utils_1_1INI_1_1IniReader" prot="public">Gaf::Utils::INI::IniReader</innerclass>
    <innernamespace refid="d5/d17/namespaceGaf_1_1Utils_1_1INI">Gaf::Utils::INI</innernamespace>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <programlisting>
<codeline lineno="1"><highlight class="normal">﻿using<sp/>System;</highlight></codeline>
<codeline lineno="2"><highlight class="normal"></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/>System.Collections.Generic;</highlight></codeline>
<codeline lineno="3"><highlight class="normal"></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/>System.Linq;</highlight></codeline>
<codeline lineno="4"><highlight class="normal"></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/>System.Text;</highlight></codeline>
<codeline lineno="5"><highlight class="normal"></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/>MinConsole.IniParser;</highlight></codeline>
<codeline lineno="6"><highlight class="normal"></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/>System.IO;</highlight></codeline>
<codeline lineno="7"><highlight class="normal"></highlight></codeline>
<codeline lineno="8" refid="d5/d17/namespaceGaf_1_1Utils_1_1INI" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">Gaf.Utils.INI</highlight></codeline>
<codeline lineno="9"><highlight class="normal">{</highlight></codeline>
<codeline lineno="10" refid="d1/d2b/classGaf_1_1Utils_1_1INI_1_1IniReader" refkind="compound"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="d1/d2b/classGaf_1_1Utils_1_1INI_1_1IniReader" kindref="compound">IniReader</ref></highlight></codeline>
<codeline lineno="11"><highlight class="normal"><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="12" refid="d1/d2b/classGaf_1_1Utils_1_1INI_1_1IniReader_1a0ac5ea224db39301902bd916f8643e16" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>strIniFile<sp/>=<sp/>MinConsole.Gaf.IO.FileUtility.CreateProcessDefaultIniFile();</highlight></codeline>
<codeline lineno="13" refid="d1/d2b/classGaf_1_1Utils_1_1INI_1_1IniReader_1ab2c8bf575e06f971819023256be43837" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>strNewIniFile<sp/>=<sp/></highlight><highlight class="stringliteral">&quot;New&quot;</highlight><highlight class="normal"><sp/>+<sp/>Environment.GetCommandLineArgs()[0]<sp/>+<sp/></highlight><highlight class="stringliteral">&quot;.ini&quot;</highlight><highlight class="normal">;<sp/></highlight></codeline>
<codeline lineno="14"><highlight class="normal"></highlight></codeline>
<codeline lineno="15"><highlight class="normal"></highlight></codeline>
<codeline lineno="16"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="17" refid="d1/d2b/classGaf_1_1Utils_1_1INI_1_1IniReader_1a085a231ce486da0db98cd864428680ba" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>IniFileTests()</highlight></codeline>
<codeline lineno="18"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="19"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Create<sp/>an<sp/>instance<sp/>of<sp/>a<sp/>ini<sp/>file<sp/>parser</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="20"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>MinConsole.IniParser.FileIniDataParser<sp/>parser<sp/>=<sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>MinConsole.IniParser.FileIniDataParser();</highlight></codeline>
<codeline lineno="21"><highlight class="normal"></highlight></codeline>
<codeline lineno="22"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(File.Exists(strNewIniFile))</highlight></codeline>
<codeline lineno="23"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>File.Delete(strNewIniFile);</highlight></codeline>
<codeline lineno="24"><highlight class="normal"></highlight></codeline>
<codeline lineno="25"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Parse<sp/>the<sp/>ini<sp/>file</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="26"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>MinConsole.IniParser.IniData<sp/>parsedData<sp/>=<sp/>parser.LoadFile(strIniFile);</highlight></codeline>
<codeline lineno="27"><highlight class="normal"></highlight></codeline>
<codeline lineno="28"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Write<sp/>down<sp/>the<sp/>contents<sp/>of<sp/>the<sp/>ini<sp/>file<sp/>to<sp/>the<sp/>console</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="29"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Console.WriteLine(</highlight><highlight class="stringliteral">&quot;----<sp/>Printing<sp/>contents<sp/>of<sp/>the<sp/>INI<sp/>file<sp/>----\n&quot;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="30"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Console.WriteLine(ElaboratedParsing(parsedData,<sp/>parser));</highlight></codeline>
<codeline lineno="31"><highlight class="normal"></highlight></codeline>
<codeline lineno="32"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Get<sp/>concrete<sp/>data<sp/>from<sp/>the<sp/>ini<sp/>file</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="33"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Console.WriteLine(</highlight><highlight class="stringliteral">&quot;----<sp/>Printing<sp/>contents<sp/>concrete<sp/>data<sp/>from<sp/>the<sp/>INI<sp/>file<sp/>----&quot;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="34"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Console.WriteLine(</highlight><highlight class="stringliteral">&quot;setMaxErrors<sp/>=<sp/>&quot;</highlight><highlight class="normal"><sp/>+<sp/>parsedData[</highlight><highlight class="stringliteral">&quot;GeneralConfiguration&quot;</highlight><highlight class="normal">][</highlight><highlight class="stringliteral">&quot;setMaxErrors&quot;</highlight><highlight class="normal">]);</highlight></codeline>
<codeline lineno="35"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Console.WriteLine();</highlight></codeline>
<codeline lineno="36"><highlight class="normal"></highlight></codeline>
<codeline lineno="37"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Modify<sp/>the<sp/>INI<sp/>contents<sp/>and<sp/>save</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="38"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Console.WriteLine();</highlight></codeline>
<codeline lineno="39"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Write<sp/>down<sp/>the<sp/>contents<sp/>of<sp/>the<sp/>modified<sp/>ini<sp/>file<sp/>to<sp/>the<sp/>console</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="40"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Console.WriteLine(</highlight><highlight class="stringliteral">&quot;----<sp/>Printing<sp/>contents<sp/>of<sp/>the<sp/>new<sp/>INI<sp/>file<sp/>----\n&quot;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="41"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="dd/de3/classMinConsole_1_1IniParser_1_1IniData" kindref="compound" tooltip="Represents all data from an INI file.">IniData</ref><sp/>modifiedParsedData<sp/>=<sp/>ModifyINIData(parsedData);</highlight></codeline>
<codeline lineno="42"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Console.WriteLine(ElaboratedParsing(modifiedParsedData,<sp/>parser));</highlight></codeline>
<codeline lineno="43"><highlight class="normal"></highlight></codeline>
<codeline lineno="44"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Save<sp/>to<sp/>a<sp/>file</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="45"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//parser.SaveFile(strNewIniFile,<sp/>modifiedParsedData);</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="46"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Console.ReadKey();</highlight></codeline>
<codeline lineno="47"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="comment">//eof<sp/>method</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="48"><highlight class="normal"></highlight></codeline>
<codeline lineno="49"><highlight class="normal"></highlight></codeline>
<codeline lineno="50" refid="d1/d2b/classGaf_1_1Utils_1_1INI_1_1IniReader_1ae1dde1b01a818950f079464c37911155" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>ElaboratedParsing(<ref refid="dd/de3/classMinConsole_1_1IniParser_1_1IniData" kindref="compound" tooltip="Represents all data from an INI file.">IniData</ref><sp/>parsedData,<sp/><ref refid="d8/db4/classMinConsole_1_1IniParser_1_1StreamIniDataParser" kindref="compound" tooltip="Represents an INI data parser for streams.">StreamIniDataParser</ref><sp/>parser)</highlight></codeline>
<codeline lineno="51"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="52"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>StringBuilder<sp/>sb<sp/>=<sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>StringBuilder();</highlight></codeline>
<codeline lineno="53"><highlight class="normal"></highlight></codeline>
<codeline lineno="54"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Process<sp/>data:<sp/>print<sp/>contents<sp/>of<sp/>the<sp/>file<sp/>into<sp/>screen</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="55"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">foreach</highlight><highlight class="normal"><sp/>(<ref refid="da/d5e/classMinConsole_1_1IniParser_1_1SectionData" kindref="compound" tooltip="Information associated to a section in a INI FileIncludes both the value and the comments associated ...">SectionData</ref><sp/>sectionData<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>parsedData.Sections)</highlight></codeline>
<codeline lineno="56"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="57"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Print<sp/>comments<sp/>for<sp/>current<sp/>section</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="58"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">foreach</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>sectionComment<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>sectionData.<ref refid="da/d5e/classMinConsole_1_1IniParser_1_1SectionData_1a1ea697b805ef5c5b697bfe83e6972f7d" kindref="member" tooltip="Gets or sets the comment list associated to this section.">Comments</ref>)</highlight></codeline>
<codeline lineno="59"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>sb.AppendLine(parser.CommentDelimiter<sp/>+<sp/>sectionComment);</highlight></codeline>
<codeline lineno="60"><highlight class="normal"></highlight></codeline>
<codeline lineno="61"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Print<sp/>section&apos;s<sp/>name</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="62"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>sb.AppendLine(</highlight></codeline>
<codeline lineno="63"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>parser.SectionDelimiters[0]<sp/>+<sp/>sectionData.<ref refid="da/d5e/classMinConsole_1_1IniParser_1_1SectionData_1adab8fdbc92f03583cbd7bc609240d010" kindref="member" tooltip="Gets or sets the name of the section.">SectionName</ref><sp/>+<sp/>parser.SectionDelimiters[1]);</highlight></codeline>
<codeline lineno="64"><highlight class="normal"></highlight></codeline>
<codeline lineno="65"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>sb.AppendLine();</highlight></codeline>
<codeline lineno="66"><highlight class="normal"></highlight></codeline>
<codeline lineno="67"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Print<sp/>section&apos;s<sp/>key-value<sp/>pairs<sp/>with<sp/>it&apos;s<sp/>comments</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="68"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">foreach</highlight><highlight class="normal"><sp/>(<ref refid="d7/d40/classMinConsole_1_1IniParser_1_1KeyData" kindref="compound" tooltip="Information associated to a key from an INI file.Includes both the value and the comments associated ...">KeyData</ref><sp/>keyData<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>sectionData.<ref refid="da/d5e/classMinConsole_1_1IniParser_1_1SectionData_1a1b9719c87649991337673af8793d90ee" kindref="member" tooltip="Gets or sets the keys associated to this section.">Keys</ref>)</highlight></codeline>
<codeline lineno="69"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="70"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Print<sp/>comments<sp/>for<sp/>current<sp/>key</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="71"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">foreach</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>keyComment<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>keyData.<ref refid="d7/d40/classMinConsole_1_1IniParser_1_1KeyData_1a1ea697b805ef5c5b697bfe83e6972f7d" kindref="member" tooltip="Gets or sets the comment list associated to this key.">Comments</ref>)</highlight></codeline>
<codeline lineno="72"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>sb.AppendLine(parser.CommentDelimiter<sp/>+<sp/>keyComment);</highlight></codeline>
<codeline lineno="73"><highlight class="normal"></highlight></codeline>
<codeline lineno="74"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Print<sp/>key<sp/>and<sp/>value</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="75"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>sb.AppendLine(keyData.<ref refid="d7/d40/classMinConsole_1_1IniParser_1_1KeyData_1ad75286a69f558484322dac5297e2ed64" kindref="member" tooltip="Gets or sets the name of the key.">KeyName</ref><sp/>+<sp/></highlight><highlight class="stringliteral">&quot;<sp/>&quot;</highlight><highlight class="normal"><sp/>+<sp/>parser.KeyValueDelimiter<sp/>+<sp/></highlight><highlight class="stringliteral">&quot;<sp/>&quot;</highlight><highlight class="normal"><sp/>+<sp/>keyData.<ref refid="d7/d40/classMinConsole_1_1IniParser_1_1KeyData_1af7b88db799d8f791f785e437bc6099d2" kindref="member" tooltip="Gets or sets the value associated to this key.">Value</ref>);</highlight></codeline>
<codeline lineno="76"><highlight class="normal"></highlight></codeline>
<codeline lineno="77"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>sb.AppendLine();</highlight></codeline>
<codeline lineno="78"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="79"><highlight class="normal"></highlight></codeline>
<codeline lineno="80"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>sb.AppendLine();</highlight></codeline>
<codeline lineno="81"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="comment">//eof<sp/>foreach<sp/></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="82"><highlight class="normal"></highlight></codeline>
<codeline lineno="83"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>sb.ToString();</highlight></codeline>
<codeline lineno="84"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="comment">//eof<sp/>method<sp/></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="85"><highlight class="normal"></highlight></codeline>
<codeline lineno="86" refid="d1/d2b/classGaf_1_1Utils_1_1INI_1_1IniReader_1ac01fd516ae8da0c3d9900c19e9a25ed6" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="dd/de3/classMinConsole_1_1IniParser_1_1IniData" kindref="compound" tooltip="Represents all data from an INI file.">IniData</ref><sp/>ModifyINIData(<ref refid="dd/de3/classMinConsole_1_1IniParser_1_1IniData" kindref="compound" tooltip="Represents all data from an INI file.">IniData</ref><sp/>modifiedParsedData)</highlight></codeline>
<codeline lineno="87"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="88"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>modifiedParsedData[</highlight><highlight class="stringliteral">&quot;GeneralConfiguration&quot;</highlight><highlight class="normal">][</highlight><highlight class="stringliteral">&quot;setMaxErrors&quot;</highlight><highlight class="normal">]<sp/>=<sp/></highlight><highlight class="stringliteral">&quot;15&quot;</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="89"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>modifiedParsedData.<ref refid="dd/de3/classMinConsole_1_1IniParser_1_1IniData_1a23b81f7bb2f67084758e5fb63f2431ad" kindref="member" tooltip="Gets or sets all the SectionData for this IniData instance.">Sections</ref>.<ref refid="d4/dcc/classMinConsole_1_1IniParser_1_1SectionDataCollection_1ad321519caa7c680485c652a6de4986bd" kindref="member" tooltip="Creates a new section with empty data.">AddSection</ref>(</highlight><highlight class="stringliteral">&quot;newSection&quot;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="90"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>modifiedParsedData.<ref refid="dd/de3/classMinConsole_1_1IniParser_1_1IniData_1a23b81f7bb2f67084758e5fb63f2431ad" kindref="member" tooltip="Gets or sets all the SectionData for this IniData instance.">Sections</ref>.<ref refid="d4/dcc/classMinConsole_1_1IniParser_1_1SectionDataCollection_1a0bc57065ca25c4237925dd5f63478c07" kindref="member" tooltip="Returns the section data from a specify section given its name.">GetSectionData</ref>(</highlight><highlight class="stringliteral">&quot;newSection&quot;</highlight><highlight class="normal">).<ref refid="da/d5e/classMinConsole_1_1IniParser_1_1SectionData_1a1ea697b805ef5c5b697bfe83e6972f7d" kindref="member" tooltip="Gets or sets the comment list associated to this section.">Comments</ref></highlight></codeline>
<codeline lineno="91"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>.Add(</highlight><highlight class="stringliteral">&quot;This<sp/>is<sp/>a<sp/>new<sp/>comment<sp/>for<sp/>the<sp/>section&quot;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="92"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>modifiedParsedData.<ref refid="dd/de3/classMinConsole_1_1IniParser_1_1IniData_1a23b81f7bb2f67084758e5fb63f2431ad" kindref="member" tooltip="Gets or sets all the SectionData for this IniData instance.">Sections</ref>.<ref refid="d4/dcc/classMinConsole_1_1IniParser_1_1SectionDataCollection_1a0bc57065ca25c4237925dd5f63478c07" kindref="member" tooltip="Returns the section data from a specify section given its name.">GetSectionData</ref>(</highlight><highlight class="stringliteral">&quot;newSection&quot;</highlight><highlight class="normal">).<ref refid="da/d5e/classMinConsole_1_1IniParser_1_1SectionData_1a1b9719c87649991337673af8793d90ee" kindref="member" tooltip="Gets or sets the keys associated to this section.">Keys</ref>.<ref refid="d3/db1/classMinConsole_1_1IniParser_1_1KeyDataCollection_1a870965bfda85d2d23853afdadf451a74" kindref="member" tooltip="Adds a new key with the specified name and empty value and comments.">AddKey</ref>(</highlight><highlight class="stringliteral">&quot;myNewKey&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">&quot;value&quot;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="93"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>modifiedParsedData.<ref refid="dd/de3/classMinConsole_1_1IniParser_1_1IniData_1a23b81f7bb2f67084758e5fb63f2431ad" kindref="member" tooltip="Gets or sets all the SectionData for this IniData instance.">Sections</ref>.<ref refid="d4/dcc/classMinConsole_1_1IniParser_1_1SectionDataCollection_1a0bc57065ca25c4237925dd5f63478c07" kindref="member" tooltip="Returns the section data from a specify section given its name.">GetSectionData</ref>(</highlight><highlight class="stringliteral">&quot;newSection&quot;</highlight><highlight class="normal">).<ref refid="da/d5e/classMinConsole_1_1IniParser_1_1SectionData_1a1b9719c87649991337673af8793d90ee" kindref="member" tooltip="Gets or sets the keys associated to this section.">Keys</ref>.<ref refid="d3/db1/classMinConsole_1_1IniParser_1_1KeyDataCollection_1a32d066a8a88afa76b0980e199dd788b0" kindref="member" tooltip="Retrieves the data for a specified key given its name.">GetKeyData</ref>(</highlight><highlight class="stringliteral">&quot;myNewKey&quot;</highlight><highlight class="normal">).<ref refid="d7/d40/classMinConsole_1_1IniParser_1_1KeyData_1a1ea697b805ef5c5b697bfe83e6972f7d" kindref="member" tooltip="Gets or sets the comment list associated to this key.">Comments</ref></highlight></codeline>
<codeline lineno="94"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>.Add(</highlight><highlight class="stringliteral">&quot;new<sp/>key<sp/>comment&quot;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="95"><highlight class="normal"></highlight></codeline>
<codeline lineno="96"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>modifiedParsedData;</highlight></codeline>
<codeline lineno="97"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="comment">//eof<sp/>method<sp/></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="98"><highlight class="normal"></highlight></codeline>
<codeline lineno="99"><highlight class="normal"></highlight></codeline>
<codeline lineno="100"><highlight class="normal"><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="comment">//eof<sp/>class<sp/>IniReader</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="101"><highlight class="normal">}<sp/></highlight><highlight class="comment">//eof<sp/>namespace<sp/></highlight><highlight class="normal"></highlight></codeline>
    </programlisting>
    <location file="E:/cas/cas.0.7.0/sfw/src/MinConsole/MinConsole.0.8.0/MinConsole/Gaf/Utils/INI/IniReader.cs"/>
  </compounddef>
</doxygen>
